package top.buyibuyi.course.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import top.buyibuyi.course.pojo.Classroom;
import top.buyibuyi.course.pojo.Course;

@Mapper
public interface UpdateCourseStateDao {
    @Update("update course set state = #{state} where id = #{id}")
    Boolean updateState(@Param("state") String state,@Param("id") int id);
}
